package cn.mesmile.emqtt.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author zb
 * @date 2021/7/11 14:44
 * @Description
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "mqtt")
public class MqttProperties {

    private String username;

    private String password;

    private String brokerUrl;

    private String clientId;

    private String defaultTopic;
}
